// 网关分组API
import {request} from '@/utils/request'
export function getGroupList(params) {
    return request({
        url: '/api/fizz-manager/gateway-group/list',
        method: 'get',
        params
    })
}
export function getPluginListAll() {
    return request({
        url: '/api/fizz-manager/blade-plugin/list-all',
        method: 'get',
    })
}
export function save(data) {
    return request({
        url: '/api/fizz-manager/gateway-group/save',
        method: 'post',
        data
    })
}
export function update(data) {
    return request({
        url: '/api/fizz-manager/gateway-group/update',
        method: 'post',
        data
    })
}
export function getGroupDetail(id) {
    return request({
        url: `/api/fizz-manager/gateway-group/detail/${id}`,
        method: 'get',
    })
}
export function remove(ids) {
    return request({
        url: '/api/fizz-manager/gateway-group/remove?ids='+ids,
        method: 'post',
    })
}
